package com.ms.oschina.ui.activity;

import java.io.UnsupportedEncodingException;

import android.content.Intent;
import android.support.v4.app.Fragment;
import android.text.Editable;
import android.text.TextUtils;
import android.text.TextWatcher;
import android.view.View;
import android.widget.AutoCompleteTextView;
import android.widget.EditText;
import android.widget.ImageView;

import com.ms.oschina.R;
import com.ms.oschina.api.remote.OkHttpClientManager.OnGetNetResultListener;
import com.ms.oschina.api.remote.OsChinaApi;
import com.ms.oschina.base.BaseActivity;
import com.ms.oschina.bean.Constants;
import com.ms.oschina.bean.HttpResponse;
import com.ms.oschina.bean.LoginUserBean;
import com.ms.oschina.fragment.FriendsFragment;
import com.ms.oschina.ui.dialog.QuickOptionDialog;
import com.ms.oschina.util.DialogUtils;
import com.ms.oschina.util.LocalBroadcastUtils;
import com.ms.oschina.util.PreferenceUtils;
import com.ms.oschina.util.TDevice;
import com.ms.oschina.util.UiUtils;

/**
 * 好友圈
 * 
 * @author Administrator
 * 
 */
public class FriendsActivity extends BaseActivity {

	@Override
	protected int getLayoutId() {
		return R.layout.framepager;
	}

	@Override
	protected void initView() {
		android.support.v4.app.FragmentTransaction transaction = getSupportFragmentManager()
				.beginTransaction();
		Fragment fragment = Fragment.instantiate(this,
				FriendsFragment.class.getName());
		transaction.replace(R.id.fl, fragment);// 添加标记方便查找
		transaction.commit();
	}

	@Override
	protected CharSequence getBackActionBarTitle() {
		return UiUtils.getString(R.string.actionbar_title_active);
	}

}
